{% extends "toast/base.template.html" %}


{% block breadcrumbs %}
	<li><a href="/toast/meeting/view/{{ tracksound.participant.attendance.meeting.id }}">{{ tracksound.participant.attendance.meeting.name }}</a> <span class="divider">/</span></li>
	<li><a href="/toast/attendance/view/{{ tracksound.participant.attendance.id }}">{{ tracksound.participant.attendance.member.first_name_first }}</a> <span class="divider">/</span></li>
	<li><a href="/toast/participation/view/{{ tracksound.participant.id }}">{{ tracksound.participant.name }}</a> <span class="divider">/</span></li>
	<li><a href="/toast/tracksound/view/{{ tracksound.id }}">{{ tracksound.sound }}</a> <span class="divider">/</span></li>
	<li class="active">Edit</li>
{% endblock %}


{% block sidecontent %}
	<div class="btn-toolbar">
		<div class="btn-group">
			<a class="btn" href="/toast/tracksound/view/{{ tracksound.id }}">View</a>
			<a class="btn active" href="/toast/tracksound/edit/{{ tracksound.id }}">Edit</a>
			<a class="btn confirm" href="/toast/tracksound/delete/{{ tracksound.id }}" message="Are you sure you want to delete this sound track?">Delete</a>
		</div>
	</div>
{% endblock %}


{% block content %}
	<form method="POST" class="form-inline">
	{% csrf_token %}
		{{ form.sound }}
		{{ form.count }}
		<input type="hidden" name="participant" value="{{ tracksound.participant.id }}" />
		<input class="btn btn-primary" type="submit" name="tracksound_edit" value="Save Changes" />
	</form>
{% endblock %}